.class Lcom/teewoo/app/bus/ui/LinePassByStation$4;
.super Ljava/lang/Object;
.source "LinePassByStation.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/teewoo/app/bus/ui/LinePassByStation;->dataRequestAndProgress()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/teewoo/app/bus/ui/LinePassByStation;


# direct methods
.method constructor <init>(Lcom/teewoo/app/bus/ui/LinePassByStation;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/teewoo/app/bus/ui/LinePassByStation$4;->this$0:Lcom/teewoo/app/bus/ui/LinePassByStation;

    .line 239
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method static synthetic access$0(Lcom/teewoo/app/bus/ui/LinePassByStation$4;)Lcom/teewoo/app/bus/ui/LinePassByStation;
    .locals 1
    .parameter

    .prologue
    .line 239
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/LinePassByStation$4;->this$0:Lcom/teewoo/app/bus/ui/LinePassByStation;

    return-object v0
.end method


# virtual methods
.method public run()V
    .locals 5

    .prologue
    .line 243
    iget-object v1, p0, Lcom/teewoo/app/bus/ui/LinePassByStation$4;->this$0:Lcom/teewoo/app/bus/ui/LinePassByStation;

    invoke-static {v1}, Lcom/teewoo/app/bus/ui/LinePassByStation;->access$13(Lcom/teewoo/app/bus/ui/LinePassByStation;)Landroid/widget/ProgressBar;

    move-result-object v1

    const/16 v2, 0x8

    invoke-virtual {v1, v2}, Landroid/widget/ProgressBar;->setVisibility(I)V

    .line 244
    new-instance v1, Ljava/lang/StringBuilder;

    const-string v2, "\u7ecf\u8fc7\'"

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v2, p0, Lcom/teewoo/app/bus/ui/LinePassByStation$4;->this$0:Lcom/teewoo/app/bus/ui/LinePassByStation;

    invoke-static {v2}, Lcom/teewoo/app/bus/ui/LinePassByStation;->access$7(Lcom/teewoo/app/bus/ui/LinePassByStation;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, "\'\u7684\u7ebf\u8def\u6709"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v2, p0, Lcom/teewoo/app/bus/ui/LinePassByStation$4;->this$0:Lcom/teewoo/app/bus/ui/LinePassByStation;

    invoke-static {v2}, Lcom/teewoo/app/bus/ui/LinePassByStation;->access$10(Lcom/teewoo/app/bus/ui/LinePassByStation;)Ljava/util/List;

    move-result-object v2

    invoke-interface {v2}, Ljava/util/List;->size()I

    move-result v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, "\u6761"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    .line 245
    .local v0, title:Ljava/lang/String;
    iget-object v1, p0, Lcom/teewoo/app/bus/ui/LinePassByStation$4;->this$0:Lcom/teewoo/app/bus/ui/LinePassByStation;

    invoke-static {v1}, Lcom/teewoo/app/bus/ui/LinePassByStation;->access$14(Lcom/teewoo/app/bus/ui/LinePassByStation;)Landroid/widget/TextView;

    move-result-object v1

    iget-object v2, p0, Lcom/teewoo/app/bus/ui/LinePassByStation$4;->this$0:Lcom/teewoo/app/bus/ui/LinePassByStation;

    invoke-static {v2}, Lcom/teewoo/app/bus/ui/LinePassByStation;->access$7(Lcom/teewoo/app/bus/ui/LinePassByStation;)Ljava/lang/String;

    move-result-object v2

    const/high16 v3, -0x1

    invoke-static {v0, v2, v3}, Lcom/teewoo/app/bus/util/Utils;->highlightKeyword(Ljava/lang/String;Ljava/lang/String;I)Landroid/text/SpannableStringBuilder;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 246
    iget-object v1, p0, Lcom/teewoo/app/bus/ui/LinePassByStation$4;->this$0:Lcom/teewoo/app/bus/ui/LinePassByStation;

    invoke-static {v1}, Lcom/teewoo/app/bus/ui/LinePassByStation;->access$15(Lcom/teewoo/app/bus/ui/LinePassByStation;)Landroid/widget/ListView;

    move-result-object v1

    new-instance v2, Lcom/teewoo/app/bus/ui/LinePassByStation$MyLinePassByAdapter;

    iget-object v3, p0, Lcom/teewoo/app/bus/ui/LinePassByStation$4;->this$0:Lcom/teewoo/app/bus/ui/LinePassByStation;

    iget-object v4, p0, Lcom/teewoo/app/bus/ui/LinePassByStation$4;->this$0:Lcom/teewoo/app/bus/ui/LinePassByStation;

    invoke-direct {v2, v3, v4}, Lcom/teewoo/app/bus/ui/LinePassByStation$MyLinePassByAdapter;-><init>(Lcom/teewoo/app/bus/ui/LinePassByStation;Landroid/content/Context;)V

    invoke-virtual {v1, v2}, Landroid/widget/ListView;->setAdapter(Landroid/widget/ListAdapter;)V

    .line 247
    iget-object v1, p0, Lcom/teewoo/app/bus/ui/LinePassByStation$4;->this$0:Lcom/teewoo/app/bus/ui/LinePassByStation;

    invoke-static {v1}, Lcom/teewoo/app/bus/ui/LinePassByStation;->access$15(Lcom/teewoo/app/bus/ui/LinePassByStation;)Landroid/widget/ListView;

    move-result-object v1

    new-instance v2, Lcom/teewoo/app/bus/ui/LinePassByStation$4$1;

    invoke-direct {v2, p0}, Lcom/teewoo/app/bus/ui/LinePassByStation$4$1;-><init>(Lcom/teewoo/app/bus/ui/LinePassByStation$4;)V

    invoke-virtual {v1, v2}, Landroid/widget/ListView;->setOnItemClickListener(Landroid/widget/AdapterView$OnItemClickListener;)V

    .line 261
    return-void
.end method
